import { defineConfig } from "drizzle-kit";
import { parseEnvs } from "ph-utils/server.js";

process.env.NODE_ENV = "development";

parseEnvs();

export default defineConfig({
  dialect: "mysql",
  schema: "./src/schemas/index.ts",
  out: "./migrations",
  dbCredentials: {
    url: process.env.MYSQL_URL,
  },
  verbose: true,
});
